{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "1fec1264-fb35-474c-9480-de5a8d195aa9",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Python 3.9.10\n"
     ]
    }
   ],
   "source": [
    "!python --version"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "898d6d78-8c9d-48fb-9734-d9ac35f3b45e",
   "metadata": {},
   "source": [
    "### Download repo and installing required packages"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "543567b2-03c8-4f1a-8399-7a9f3301dd21",
   "metadata": {},
   "outputs": [],
   "source": [
    "!git clone https://github.com/THU-MIG/yolov10.git"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "c15f320f-bd63-4bfc-a89a-368a2bcab42b",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "E:\\yolov10_env\\myvenv\\lib\\site-packages\\IPython\\core\\magics\\osm.py:417: UserWarning: using dhist requires you to install the `pickleshare` library.\n",
      "  self.shell.db['dhist'] = compress_dhist(dhist)[-100:]\n"
     ]
    }
   ],
   "source": [
    "cd yolov10"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "93daa598-b933-4ade-b71e-47ae734cc292",
   "metadata": {},
   "outputs": [],
   "source": [
    "!pip install . "
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5c339def-268e-4d43-b682-7017d9309f31",
   "metadata": {},
   "source": [
    "### Downloading pretrained weights"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "ff76e1fc-07c0-44b0-9548-c8c9c3d84caa",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10n.pt\n",
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10s.pt\n",
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10m.pt\n",
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10b.pt\n",
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10x.pt\n",
      "Downloaded E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\weights\\yolov10l.pt\n"
     ]
    }
   ],
   "source": [
    "import os\n",
    "import urllib.request\n",
    "\n",
    "# Create a directory for the weights in the current working directory\n",
    "weights_dir = os.path.join(os.getcwd(), \"weights\")\n",
    "os.makedirs(weights_dir, exist_ok=True)\n",
    "\n",
    "# URLs of the weight files\n",
    "urls = [\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10n.pt\",\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10s.pt\",\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10m.pt\",\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10b.pt\",\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10x.pt\",\n",
    "    \"https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10l.pt\"\n",
    "]\n",
    "\n",
    "# Download each file\n",
    "for url in urls:\n",
    "    file_name = os.path.join(weights_dir, os.path.basename(url))\n",
    "    urllib.request.urlretrieve(url, file_name)\n",
    "    print(f\"Downloaded {file_name}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a6e89a42-0cd5-44ea-827c-91fec737c2c5",
   "metadata": {},
   "source": [
    "# Inference using pretrained model"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "004ddb6b-2a6b-480b-b3ab-6ad05e323227",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Ultralytics YOLOv8.1.34 ðŸš€ Python-3.9.10 torch-2.1.2+cu118 CUDA:0 (NVIDIA GeForce RTX 3090, 24576MiB)\n",
      "YOLOv10n summary (fused): 285 layers, 2762608 parameters, 63840 gradients, 8.6 GFLOPs\n",
      "\n",
      "image 1/1 E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\test_images\\1.jpg: 448x640 4 17s, 81.1ms\n",
      "Speed: 3.0ms preprocess, 81.1ms inference, 36.0ms postprocess per image at shape (1, 3, 448, 640)\n",
      "Results saved to \u001b[1mruns\\detect\\predict\u001b[0m\n",
      "ðŸ’¡ Learn more at https://docs.ultralytics.com/modes/predict\n"
     ]
    }
   ],
   "source": [
    "!yolo task=detect mode=predict conf=0.25 save=True model=../weights/yolov10n.pt source=../test_images/1.jpg"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "67a08c47-fe52-4fe7-bb62-9db0953a7584",
   "metadata": {},
   "source": [
    "# Train Custom Model"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "5622fead-38ae-43fe-abe8-a825ab81e596",
   "metadata": {},
   "outputs": [],
   "source": [
    "!yolo task=detect mode=train epochs=100 batch=16 plots=True model=weights/yolov10n.pt data=custom_data.yaml"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b2471f8c-8d42-4d64-a04a-6d313d6eedf4",
   "metadata": {},
   "source": [
    "# Inference"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "d0110c25-74a8-43e6-a462-115a5459cd56",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Ultralytics YOLOv8.1.34 ðŸš€ Python-3.9.10 torch-2.1.2+cu118 CUDA:0 (NVIDIA GeForce RTX 3090, 24576MiB)\n",
      "YOLOv10n summary (fused): 285 layers, 2694806 parameters, 0 gradients, 8.2 GFLOPs\n",
      "\n",
      "image 1/1 E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\test_images_1\\veh2.jpg: 512x640 1 licence, 78.4ms\n",
      "Speed: 2.5ms preprocess, 78.4ms inference, 45.5ms postprocess per image at shape (1, 3, 512, 640)\n",
      "Results saved to \u001b[1mruns\\detect\\predict2\u001b[0m\n",
      "ðŸ’¡ Learn more at https://docs.ultralytics.com/modes/predict\n"
     ]
    }
   ],
   "source": [
    "!yolo task=detect mode=predict conf=0.25 save=True model=runs/detect/train/weights/best.pt source=test_images_1/veh2.jpg"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2fbb61c9-ade6-4bf8-8a14-08ee695f0cf8",
   "metadata": {},
   "source": [
    "# Inference on Video"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "aaa8884d-31ad-49fc-bf95-48f31a0cbec6",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Ultralytics YOLOv8.1.34 ðŸš€ Python-3.9.10 torch-2.1.2+cu118 CUDA:0 (NVIDIA GeForce RTX 3090, 24576MiB)\n",
      "YOLOv10n summary (fused): 285 layers, 2694806 parameters, 0 gradients, 8.2 GFLOPs\n",
      "\n",
      "video 1/1 (frame 1/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 81.0ms\n",
      "video 1/1 (frame 2/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 3/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 4/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 5/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 10.0ms\n",
      "video 1/1 (frame 6/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 7/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.1ms\n",
      "video 1/1 (frame 8/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 9/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 10/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 11/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 12/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.5ms\n",
      "video 1/1 (frame 13/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 14/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 15/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 16/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 17/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 18/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 19/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 20/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 21/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 22/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 23/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 24/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 25/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 26/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 27/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 28/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.9ms\n",
      "video 1/1 (frame 29/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 30/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 31/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 32/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 13.0ms\n",
      "video 1/1 (frame 33/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 34/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 35/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 36/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 37/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 38/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 39/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 40/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 41/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 42/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 43/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.5ms\n",
      "video 1/1 (frame 44/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 45/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 46/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 47/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 48/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.3ms\n",
      "video 1/1 (frame 49/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 50/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 51/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 52/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 53/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 54/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 55/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 56/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 57/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 58/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.9ms\n",
      "video 1/1 (frame 59/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 60/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 61/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 62/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 63/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 64/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 65/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 66/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 67/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.9ms\n",
      "video 1/1 (frame 68/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 69/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 70/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 71/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 72/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 73/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 74/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 75/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 76/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.3ms\n",
      "video 1/1 (frame 77/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 78/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.5ms\n",
      "video 1/1 (frame 79/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 80/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 81/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.5ms\n",
      "video 1/1 (frame 82/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 83/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.5ms\n",
      "video 1/1 (frame 84/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 85/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 86/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 87/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 88/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 89/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 (no detections), 8.0ms\n",
      "video 1/1 (frame 90/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 91/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 92/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.8ms\n",
      "video 1/1 (frame 93/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 94/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 95/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.5ms\n",
      "video 1/1 (frame 96/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 97/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 98/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 99/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 100/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 101/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 102/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 103/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 104/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 105/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 106/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 107/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 108/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 109/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 110/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 111/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.0ms\n",
      "video 1/1 (frame 112/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 7.5ms\n",
      "video 1/1 (frame 113/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 7.5ms\n",
      "video 1/1 (frame 114/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.5ms\n",
      "video 1/1 (frame 115/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 116/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 117/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 118/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 119/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 120/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.6ms\n",
      "video 1/1 (frame 121/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 122/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 123/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 124/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.5ms\n",
      "video 1/1 (frame 125/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 7.5ms\n",
      "video 1/1 (frame 126/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.5ms\n",
      "video 1/1 (frame 127/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.5ms\n",
      "video 1/1 (frame 128/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.5ms\n",
      "video 1/1 (frame 129/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 130/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.5ms\n",
      "video 1/1 (frame 131/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 132/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 133/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 9.5ms\n",
      "video 1/1 (frame 134/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 9.3ms\n",
      "video 1/1 (frame 135/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 6 licences, 8.5ms\n",
      "video 1/1 (frame 136/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.0ms\n",
      "video 1/1 (frame 137/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 9.0ms\n",
      "video 1/1 (frame 138/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 6 licences, 9.0ms\n",
      "video 1/1 (frame 139/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 140/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 141/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 142/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 143/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 144/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 145/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 146/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 147/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 10.0ms\n",
      "video 1/1 (frame 148/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 149/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 150/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.0ms\n",
      "video 1/1 (frame 151/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 152/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 153/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 154/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 155/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.5ms\n",
      "video 1/1 (frame 156/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 157/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.5ms\n",
      "video 1/1 (frame 158/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 159/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 160/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 161/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 162/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 163/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 164/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 165/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 166/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 167/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 168/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 169/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 170/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 171/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 172/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 173/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 174/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 175/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 176/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 177/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 178/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 179/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 180/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 181/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 182/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 183/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 184/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 185/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.5ms\n",
      "video 1/1 (frame 186/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 187/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.7ms\n",
      "video 1/1 (frame 188/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 189/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 190/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.5ms\n",
      "video 1/1 (frame 191/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 192/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.0ms\n",
      "video 1/1 (frame 193/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 194/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 195/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 196/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 197/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.0ms\n",
      "video 1/1 (frame 198/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 199/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 200/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 201/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 202/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 203/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 204/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 205/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.1ms\n",
      "video 1/1 (frame 206/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 207/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 208/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 209/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.5ms\n",
      "video 1/1 (frame 210/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 211/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 212/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 7.5ms\n",
      "video 1/1 (frame 213/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 214/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 215/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 216/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 217/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 218/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 219/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 220/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.0ms\n",
      "video 1/1 (frame 221/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 222/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 223/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.0ms\n",
      "video 1/1 (frame 224/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.9ms\n",
      "video 1/1 (frame 225/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.5ms\n",
      "video 1/1 (frame 226/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.4ms\n",
      "video 1/1 (frame 227/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.5ms\n",
      "video 1/1 (frame 228/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.5ms\n",
      "video 1/1 (frame 229/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 230/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.5ms\n",
      "video 1/1 (frame 231/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 232/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 233/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 234/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 235/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 9.0ms\n",
      "video 1/1 (frame 236/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.0ms\n",
      "video 1/1 (frame 237/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 9.0ms\n",
      "video 1/1 (frame 238/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 5 licences, 8.0ms\n",
      "video 1/1 (frame 239/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 240/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.1ms\n",
      "video 1/1 (frame 241/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 242/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 243/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.1ms\n",
      "video 1/1 (frame 244/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.2ms\n",
      "video 1/1 (frame 245/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.6ms\n",
      "video 1/1 (frame 246/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 247/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.5ms\n",
      "video 1/1 (frame 248/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.7ms\n",
      "video 1/1 (frame 249/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.1ms\n",
      "video 1/1 (frame 250/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.3ms\n",
      "video 1/1 (frame 251/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.1ms\n",
      "video 1/1 (frame 252/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.3ms\n",
      "video 1/1 (frame 253/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 254/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 255/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 256/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 257/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 258/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 259/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 260/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 261/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 262/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 263/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 264/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 265/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 266/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.2ms\n",
      "video 1/1 (frame 267/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 268/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 269/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 270/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 271/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 272/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 273/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 274/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 275/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 276/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 277/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 278/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 279/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 280/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 281/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 282/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.3ms\n",
      "video 1/1 (frame 283/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 284/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 285/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 286/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 287/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 288/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 289/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 290/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 7.0ms\n",
      "video 1/1 (frame 291/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.0ms\n",
      "video 1/1 (frame 292/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 293/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 7.5ms\n",
      "video 1/1 (frame 294/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 295/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.5ms\n",
      "video 1/1 (frame 296/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 297/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 298/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 299/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 300/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 301/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.0ms\n",
      "video 1/1 (frame 302/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 303/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 304/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 9.0ms\n",
      "video 1/1 (frame 305/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 4 licences, 8.7ms\n",
      "video 1/1 (frame 306/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 307/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 308/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 309/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 310/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 311/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.4ms\n",
      "video 1/1 (frame 312/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 313/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.5ms\n",
      "video 1/1 (frame 314/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 315/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 7.5ms\n",
      "video 1/1 (frame 316/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.5ms\n",
      "video 1/1 (frame 317/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 318/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 319/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 320/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 321/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 7.0ms\n",
      "video 1/1 (frame 322/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.1ms\n",
      "video 1/1 (frame 323/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 324/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 325/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.6ms\n",
      "video 1/1 (frame 326/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 327/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.0ms\n",
      "video 1/1 (frame 328/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 329/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 330/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 9.4ms\n",
      "video 1/1 (frame 331/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.5ms\n",
      "video 1/1 (frame 332/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 8.9ms\n",
      "video 1/1 (frame 333/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.7ms\n",
      "video 1/1 (frame 334/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.7ms\n",
      "video 1/1 (frame 335/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 9.0ms\n",
      "video 1/1 (frame 336/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 337/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 338/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 339/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 340/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 341/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 342/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 343/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 344/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 3 licences, 8.0ms\n",
      "video 1/1 (frame 345/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 346/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 347/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 2 licences, 8.0ms\n",
      "video 1/1 (frame 348/348) E:\\yolov10_env\\yolov10_youtube_copy\\yolov10\\..\\b.mp4: 384x640 1 licence, 9.2ms\n",
      "Speed: 0.7ms preprocess, 8.5ms inference, 1.3ms postprocess per image at shape (1, 3, 384, 640)\n",
      "Results saved to \u001b[1mruns\\detect\\predict3\u001b[0m\n",
      "ðŸ’¡ Learn more at https://docs.ultralytics.com/modes/predict\n"
     ]
    }
   ],
   "source": [
    "!yolo task=detect mode=predict conf=0.25 save=True model=runs/detect/train/weights/best.pt source=b.mp4"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ed1460e2-06ea-4dfa-92f5-1f363c0c8e2d",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
